package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.JingfeiJingfeipiciyueMapper;
import com.ruoyi.system.domain.JingfeiJingfeipiciyue;
import com.ruoyi.system.service.IJingfeiJingfeipiciyueService;
import com.ruoyi.common.core.text.Convert;

/**
 * jingfeipiciyueService业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
@Service
public class JingfeiJingfeipiciyueServiceImpl implements IJingfeiJingfeipiciyueService 
{
    @Autowired
    private JingfeiJingfeipiciyueMapper jingfeiJingfeipiciyueMapper;

    /**
     * 查询jingfeipiciyue
     * 
     * @param piciyueid jingfeipiciyue主键
     * @return jingfeipiciyue
     */
    @Override
    public JingfeiJingfeipiciyue selectJingfeiJingfeipiciyueByPiciyueid(String piciyueid)
    {
        return jingfeiJingfeipiciyueMapper.selectJingfeiJingfeipiciyueByPiciyueid(piciyueid);
    }

    /**
     * 查询jingfeipiciyue列表
     * 
     * @param jingfeiJingfeipiciyue jingfeipiciyue
     * @return jingfeipiciyue
     */
    @Override
    public List<JingfeiJingfeipiciyue> selectJingfeiJingfeipiciyueList(JingfeiJingfeipiciyue jingfeiJingfeipiciyue)
    {
        return jingfeiJingfeipiciyueMapper.selectJingfeiJingfeipiciyueList(jingfeiJingfeipiciyue);
    }

    /**
     * 新增jingfeipiciyue
     * 
     * @param jingfeiJingfeipiciyue jingfeipiciyue
     * @return 结果
     */
    @Override
    public int insertJingfeiJingfeipiciyue(JingfeiJingfeipiciyue jingfeiJingfeipiciyue)
    {
        return jingfeiJingfeipiciyueMapper.insertJingfeiJingfeipiciyue(jingfeiJingfeipiciyue);
    }

    /**
     * 修改jingfeipiciyue
     * 
     * @param jingfeiJingfeipiciyue jingfeipiciyue
     * @return 结果
     */
    @Override
    public int updateJingfeiJingfeipiciyue(JingfeiJingfeipiciyue jingfeiJingfeipiciyue)
    {
        return jingfeiJingfeipiciyueMapper.updateJingfeiJingfeipiciyue(jingfeiJingfeipiciyue);
    }

    /**
     * 批量删除jingfeipiciyue
     * 
     * @param piciyueids 需要删除的jingfeipiciyue主键
     * @return 结果
     */
    @Override
    public int deleteJingfeiJingfeipiciyueByPiciyueids(String piciyueids)
    {
        return jingfeiJingfeipiciyueMapper.deleteJingfeiJingfeipiciyueByPiciyueids(Convert.toStrArray(piciyueids));
    }

    /**
     * 删除jingfeipiciyue信息
     * 
     * @param piciyueid jingfeipiciyue主键
     * @return 结果
     */
    @Override
    public int deleteJingfeiJingfeipiciyueByPiciyueid(String piciyueid)
    {
        return jingfeiJingfeipiciyueMapper.deleteJingfeiJingfeipiciyueByPiciyueid(piciyueid);
    }
}
